<template>
<!-- 一级标题 -->
  <div class="first-level-title">
    <div class="title">{{ title }}</div>
    <slot name="other" />
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String
    }
  }
}
</script>
<style lang="less" scoped>
.first-level-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  .title {
    font-size: 18px;
    font-weight: 600;
  }
  .other-text {
    color: #999;
  }
}
</style>